package com.example.mvvmtemplate.bean;

import java.io.Serializable;
import java.util.List;

public class LoginInfoBean implements Serializable {


    /**
     * merchantId : 1
     * mobile : 19926462476
     * userName : 刘德华
     * userType : 1
     * storeName : 美好时光服饰
     * token : 148a70b60ede404fa80610ebaf2faab9
     * classVOS : [{"enumClassId":"1","key":"show_stock","enumClassName":"显示库存","defaultValue":"1"},{"enumClassId":"2","key":"recent_get_price","enumClassName":"最近拿货价格","defaultValue":"0"},{"enumClassId":"3","key":"replenishment_sign","enumClassName":"补货标识","defaultValue":"0"},{"enumClassId":"4","key":"replenishment_returns_sign","enumClassName":"补货退货标识","defaultValue":"0"},{"enumClassId":"5","key":"deadline_returns","enumClassName":"限期退货","defaultValue":"0"},{"enumClassId":"6","key":"lowest_sales_price","enumClassName":"最低销售价","defaultValue":"0"},{"enumClassId":"7","key":"recent_get_remarks","enumClassName":"显示最近拿货的备注","defaultValue":"1"},{"enumClassId":"8","key":"special_cost","enumClassName":"特殊费用","defaultValue":"0","codeVOS":[{"codeId":"1","name":"抹零","status":1},{"codeId":"3","name":"邮费","status":1},{"codeId":"4","name":"特殊费用新增","status":1}]},{"enumClassId":"9","key":"bar_code","enumClassName":"条码设置","defaultValue":"1"}]
     */

    private long merchantId;
    private String mobile;
    private String userName;
    private int userType;
    private String storeName;
    private String token;
    private int empId;
    private String empName;
    private List<ClassVOSBean> classVOS;
    private CommonPerms commonPerms;
    private StoreInfo storeInfo;

    public StoreInfo getStoreInfo() {
        return storeInfo;
    }

    public void setStoreInfo(StoreInfo storeInfo) {
        this.storeInfo = storeInfo;
    }

    public CommonPerms getCommonPerms() {
        return commonPerms;
    }

    public void setCommonPerms(CommonPerms commonPerms) {
        this.commonPerms = commonPerms;
    }

    public String getEmpName() {
        return empName;
    }

    public int getEmpId() {
        return empId;
    }

    public void setEmpId(int empId) {
        this.empId = empId;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }
    public long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(long merchantId) {
        this.merchantId = merchantId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<ClassVOSBean> getClassVOS() {
        return classVOS;
    }

    public void setClassVOS(List<ClassVOSBean> classVOS) {
        this.classVOS = classVOS;
    }

    public static class ClassVOSBean {
        /**
         * enumClassId : 1
         * key : show_stock
         * enumClassName : 显示库存
         * defaultValue : 1
         * codeVOS : [{"codeId":"1","name":"抹零","status":1},{"codeId":"3","name":"邮费","status":1},{"codeId":"4","name":"特殊费用新增","status":1}]
         */

        private String enumClassId;
        private String key;
        private String enumClassName;
        private String defaultValue;
        private List<CodeVOSBean> codeVOS;

        public String getEnumClassId() {
            return enumClassId;
        }

        public void setEnumClassId(String enumClassId) {
            this.enumClassId = enumClassId;
        }

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public String getEnumClassName() {
            return enumClassName;
        }

        public void setEnumClassName(String enumClassName) {
            this.enumClassName = enumClassName;
        }

        public String getDefaultValue() {
            return defaultValue;
        }

        public void setDefaultValue(String defaultValue) {
            this.defaultValue = defaultValue;
        }

        public List<CodeVOSBean> getCodeVOS() {
            return codeVOS;
        }

        public void setCodeVOS(List<CodeVOSBean> codeVOS) {
            this.codeVOS = codeVOS;
        }

        public static class CodeVOSBean {
            /**
             * codeId : 1
             * name : 抹零
             * status : 1
             */

            private String codeId;
            private String name;
            private int status;

            public String getCodeId() {
                return codeId;
            }

            public void setCodeId(String codeId) {
                this.codeId = codeId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }
    }

    public static class CommonPerms implements Serializable{
        private int commonProductInfoAdd;
        private int commonLookOverSalesPriceView;
        private int commonLookOverEntryPriceView;
        private int commonSettingWarningUpdate;
        private int commonLookOverProviderView;
        private int viewThePriceAdjustment;
        private int crossStoreDocumentSearch;

        public int getViewThePriceAdjustment() {
            return viewThePriceAdjustment;
        }

        public void setViewThePriceAdjustment(int viewThePriceAdjustment) {
            this.viewThePriceAdjustment = viewThePriceAdjustment;
        }

        public int getCrossStoreDocumentSearch() {
            return crossStoreDocumentSearch;
        }

        public void setCrossStoreDocumentSearch(int crossStoreDocumentSearch) {
            this.crossStoreDocumentSearch = crossStoreDocumentSearch;
        }

        public int getCommonProductInfoAdd() {
            return commonProductInfoAdd;
        }

        public void setCommonProductInfoAdd(int commonProductInfoAdd) {
            this.commonProductInfoAdd = commonProductInfoAdd;
        }

        public int getCommonLookOverSalesPriceView() {
            return commonLookOverSalesPriceView;
        }

        public void setCommonLookOverSalesPriceView(int commonLookOverSalesPriceView) {
            this.commonLookOverSalesPriceView = commonLookOverSalesPriceView;
        }

        public int getCommonLookOverEntryPriceView() {
            return commonLookOverEntryPriceView;
        }

        public void setCommonLookOverEntryPriceView(int commonLookOverEntryPriceView) {
            this.commonLookOverEntryPriceView = commonLookOverEntryPriceView;
        }

        public int getCommonSettingWarningUpdate() {
            return commonSettingWarningUpdate;
        }

        public void setCommonSettingWarningUpdate(int commonSettingWarningUpdate) {
            this.commonSettingWarningUpdate = commonSettingWarningUpdate;
        }

        public int getCommonLookOverProviderView() {
            return commonLookOverProviderView;
        }

        public void setCommonLookOverProviderView(int commonLookOverProviderView) {
            this.commonLookOverProviderView = commonLookOverProviderView;
        }
    }

    public static class StoreInfo{
        private String storeName;
        private int merchantType;
        private String warnDesc;
        private String remarks;
        private int defaultPriceType;
        private String logoPic;
        private String address;

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public int getMerchantType() {
            return merchantType;
        }

        public void setMerchantType(int merchantType) {
            this.merchantType = merchantType;
        }

        public String getWarnDesc() {
            return warnDesc;
        }

        public void setWarnDesc(String warnDesc) {
            this.warnDesc = warnDesc;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public int getDefaultPriceType() {
            return defaultPriceType;
        }

        public void setDefaultPriceType(int defaultPriceType) {
            this.defaultPriceType = defaultPriceType;
        }

        public String getLogoPic() {
            return logoPic;
        }

        public void setLogoPic(String logoPic) {
            this.logoPic = logoPic;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }
    }
}
